package com.yzw.dao.entity;

import lombok.Data;

/**
 * @author yzw
 * @date 2022/8/27 14:50
 * @desc 任务实体
 */
@Data
public class AsyncTaskEntity extends BaseEntity{
    /**
     * 源id
     */
    private String sourceId;

    /**
     * 目标系统id
     */
    private String targetSystemId;

    /**
     * 业务id
     */
    private String bussinessId;

    /**
     * 成功 0-未成功，1-成功
     */
    private Integer success;

    /**
     * 重试次数，大于三次则不再重试
     */
    private Integer retryNum;

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getTargetSystemId() {
        return targetSystemId;
    }

    public void setTargetSystemId(String targetSystemId) {
        this.targetSystemId = targetSystemId;
    }

    public String getBussinessId() {
        return bussinessId;
    }

    public void setBussinessId(String bussinessId) {
        this.bussinessId = bussinessId;
    }

    public Integer getSuccess() {
        return success;
    }

    public void setSuccess(Integer success) {
        this.success = success;
    }

    public Integer getRetryNum() {
        return retryNum;
    }

    public void setRetryNum(Integer retryNum) {
        this.retryNum = retryNum;
    }
}
